package com.zzedu.enmuns;

/**
 *
 */
public enum FileRelationTypeEnum {


    /**
     * 单词
     */
    WORD("WORD", "word", "单词"),

    /**
     * 绘本
     */
    PICTURE_BOOK("PICTURE_BOOK", "picture_book", "绘本"),

    /**
     * 学生头像
     */
    STU_AVATAR("STU_AVATAR", "stu_avatar", "学生头像"),

    /**
     * 题目文件
     */
    SUBJECT_FILE("SUBJECT_FILE", "subject_file", "题目文件"),

    /**
     * 课程包文件
     */
    COURSE_FILE("COURSE_FILE", "course_file", "课程包文件"),

    /**
     * 提交文件
     */
    SUBMIT_FILE("SUBMIT_FILE", "submit_file", "提交文件"),

    /**
     * 学校资料
     */
    SCHOOL_ARCHIVES("SCHOOL_ARCHIVES", "school_archives", "学校资料"),

    /**
     * APK-大屏
     */
    APK_BG("APK_BG", "apk/bg", "APK-大屏"),
    /**
     * APK-安卓
     */
    APK_AND("APK_AND", "apk/and", "APK-安卓"),
    ;

    String code;

    String ossPath;

    String desc;

    FileRelationTypeEnum(String code, String ossPath, String desc) {
        this.code = code;
        this.ossPath = ossPath;
        this.desc = desc;
    }

    public String getOssPath() {
        return ossPath;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public String toString() {
        return String.valueOf(code); // 或者 name(), 或者 desc
    }
}
